package com.prs.crm.dao.online.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.online.LeadEmailDao;
import com.prs.crm.domain.online.LeadEmail;

public class LeadEmailDaoImpl extends BaseDaoImpl<LeadEmail> implements LeadEmailDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<LeadEmail> getAllLeadEmail() {
		Criteria criteria=this.getSession().createCriteria(LeadEmail.class);
		return criteria.list();
	}

}
